home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / MPW Goodies / Interfaces / PInterfaces / Strings.p < prev    next >
Encoding:
Text File  |  1988-11-30  |  807 b   |  43 lines  |  [TEXT/MPS ]

  1. {
  2. Created: Tuesday, October 25, 1988 at 4:30 PM
  3.     Strings.p
  4.     Pascal Interface to the Macintosh Libraries
  5.  
  6.     Copyright Apple Computer, Inc.  1985-1988
  7.     All rights reserved
  8. }
  9.  
  10.  
  11. {$IFC UNDEFINED UsingIncludes}
  12. {$SETC UsingIncludes := 0}
  13. {$ENDC}
  14.  
  15. {$IFC NOT UsingIncludes}
  16.     UNIT Strings;
  17.     INTERFACE
  18. {$ENDC}
  19.  
  20. {$IFC UNDEFINED UsingStrings}
  21. {$SETC UsingStrings := 1}
  22.  
  23. {$I+}
  24. {$SETC StringsIncludes := UsingIncludes}
  25. {$SETC UsingIncludes := 1}
  26. {$IFC UNDEFINED UsingTypes}
  27. {$I $$Shell(PInterfaces)Types.p}
  28. {$ENDC}
  29. {$SETC UsingIncludes := StringsIncludes}
  30.  
  31.  
  32. FUNCTION C2PStr(cString: UNIV Ptr): Str255;
  33. PROCEDURE C2PStrProc(cString: UNIV Ptr);
  34. FUNCTION P2CStr(pString: UNIV Ptr): StringPtr;
  35. PROCEDURE P2CStrProc(pString: UNIV Ptr);
  36.  
  37. {$ENDC}    { UsingStrings }
  38.  
  39. {$IFC NOT UsingIncludes}
  40.     END.
  41. {$ENDC}
  42.  
  43.